package cn.ffcs.uec.insurance.model;

import java.io.Serializable;

import cn.ffcs.uec.insurance.dao.UecBmDao;
import cn.ffcs.uom.common.model.UomEntity;
import cn.ffcs.uom.common.util.ApplicationContextUtil;
import lombok.Getter;
import lombok.Setter;
/**
 * 险种期间
 *
 */
public class UecPeriod extends UomEntity implements Serializable {

	private static final long serialVersionUID = -1550327753173687989L;


	/**
	 * 险种期间主键
	 * 
	 */
	public Long getUecPeriodId() {
		return super.getId();
	}

	public void setUecPeriodId(Long uecPeriodId) {
		super.setId(uecPeriodId);
	}

	/**
	 * 账期
	 */
	@Getter
	@Setter
	private Long monthId;
	/**
	 * 险种期间主键
	 */
	@Getter
	@Setter
	private String pkBmPeriod;
	/**
	 * 险种年度
	 */
	@Getter
	@Setter
	private String year;
	/**
	 * 险种期间
	 */
	@Getter
	@Setter
	private String period;
	/**
	 * 开始日期
	 */
	@Getter
	@Setter
	private String cstartdate;
	/**
	 * 结束日期
	 */
	@Getter
	@Setter
	private String cenddate;
	/**
	 * 基准年度
	 */
	@Getter
	@Setter
	private String caccyear;
	/**
	 * 基准期间
	 */
	@Getter
	@Setter
	private String caccperiod;
	/**
	 * 
	 */
	@Getter
	@Setter
	private String ts;
	/**
	 * 
	 */
	@Getter
	@Setter
	private Long dr;
	


	public static UecPeriod newInstance() {
		return new UecPeriod();
	}

	public static UecBmDao repository() {
		return (UecBmDao) ApplicationContextUtil.getBean("uecBmDao");
	}
}
